<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" type="text/css" href="css/a.css"/>
	<link rel="stylesheet" type="text/css" href="css/animate.css"/>
</head>
<body>
	<?php $arr = array('flash','wobble','swing');?>
	<?php foreach (glob('./img/'.date('ymd').'/*') as $k => $v): ?>
		<div class="con animated <?php echo $arr[mt_rand(0, 2)]; ?>">
			<div class="con-top">
				<img src="<?php echo $v; ?>"/>
			</div>
			<div class="con-bottom">
				<?php echo basename($v); ?>
			</div>
		</div>
	<?php endforeach ?>
</body>
</html>
